package com.ldubbo.service.distribution;

import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import com.ldubbo.sinterface.distribution.DistributionService;

@Service
public class DistributionServiceImpl implements DistributionService {

	@Override
	public String getUserInfo(String userId) {
		
		JSONObject jsonobj = new JSONObject();
		jsonobj.put("userId", userId);
		jsonobj.put("username", "test");
		jsonobj.put("age", 40);
		
		return jsonobj.toJSONString();
	}

}
